<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>hello_react</title>
    </head>
    <body>
        <div id="test"></div>
<!--1.引入react核心库-->
        <script type="text/javascript" src="../js/react.development.js"></script>
<!--2.引入react-dom操作Dom-->
        <script type="text/javascript" src="../js/react-dom.development.js"></script>
<!--3.引入babel，用于将jsx转换成原生js-->
        <script type="text/javascript" src="../js/babel.min.js"></script>
        <script type="text/babel">
          let vDOM = <h1>hello World</h1>
            ReactDOM.render(vDOM,document.getElementById('test'))
        </script>
    </body>
</html>